<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="common/head.jsp"%>
                <link rel="stylesheet" href="${pageContext.request.contextPath }/statics/rece/css/style.css"/>
                <link rel='stylesheet' id='bootstrap-css-css'  href='${pageContext.request.contextPath }/statics/rece/css/bootstrap5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='responsive-css-css'  href='${pageContext.request.contextPath }/statics/rece/css/responsive5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='pretty-photo-css-css'  href='js/prettyphoto/prettyPhotoaeb9.css?ver=3.1.4' type='text/css' media='all' />
                <link rel='stylesheet' id='main-css-css'  href='${pageContext.request.contextPath }/statics/rece/css/main5152.css?ver=1.0' type='text/css' media='all' />
                <link rel='stylesheet' id='custom-css-css'  href='${pageContext.request.contextPath }/statics/rece/css/custom5152.html?ver=1.0' type='text/css' media='all' />
                
                <div class="page-container">
                        <div class="container">
                                <div class="row">
                                        <div class="span8 page-content">

                                                <article class="type-page hentry clearfix">
                                                        <h1 class="post-title">
                                                                <a href="#">文章</a>
                                                        </h1>
                                                        <hr>
                                                        <p>请在写文章！</p>
                                                </article>


                                                <form id="contact-form" class="row" action="${pageContext.request.contextPath }/sys/contact" method="post">
														<input type="hidden" name="dev_user_id" value="${id }"/>
                                                        <div class="span2">
                                                                <label for="name">文章名 <span>*</span> </label>
                                                        </div>
                                                        <div class="span6">
                                                                <input type="text" name="title" id="name" class="required input-xlarge" value="" title="* Please provide your name">
                                                                <span style="color: red;"></span>
                                                        </div>

                                                        <div class="span2">
                                                                <label for="email">专题 <span>*</span></label>
                                                        </div>
                                                        <div class="span6">
                                                        		<select name="thematic_id" class="form-control">
									  								 <option value="1">--请选择--</option>
									   									<c:forEach var="thematic" items="${thematicList}">
									   										<option value="${thematic.id}">${thematic.name}</option>
									   									</c:forEach>
        														</select>
                                                        </div>
                                                        <div class="span2">
                                                                <label for="message">正文 <span>*</span> </label>
                                                        </div>
                                                        <div class="span6">
                                                                <textarea name="content" id="message" class="required span6" rows="12" title="* Please enter your message"></textarea>
                                                                <span  style="color:red;float: right;"></span>
                                                        </div>

                                                        <div class="span6 offset2 bm30">
                                                                <input type="button"  id="button"  onclick="javascript:tijiao();" value="提交" class="btn btn-inverse"/>
                                                                <img src="images/loading.gif" id="contact-loader" alt="Loading...">
                                                        </div>

                                                        <div class="span6 offset2 error-container"></div>
                                                        <div class="span8 offset2" id="message-sent"></div>

                                                </form>
                                        </div>
                                        <!-- end of page content -->


                                </div>
                        </div>
                </div>

	<div data-am-widget="gotop" class="am-gotop am-gotop-fixed" >
    <a href="#top" title="回到顶部">
        <span class="am-gotop-title">回到顶部</span>
        <i class="am-gotop-icon am-icon-chevron-up"></i>
    </a>
</div>
<%@include file="common/foot.jsp"%>
    <script src="${pageContext.request.contextPath }/static/rece/js/Article.js"></script>

